package com.auction.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.time.OffsetDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "`order`")
public class Order {
   @TableId(value = "id",type = IdType.AUTO)
   private Integer id;
   private int user_id;
   private String user_name;
   private double order_amount;
   private double shipping_fee;
   private String delivery_address;
   private String shipping_company;
   private String delivery_data;
   private int product_id;
   private double product_price;
   private String order_code;
   private String product_name;
   private String tracking_number;
   private int payment_status;
   private String create_time;
   private int isdel;

}
